export default {
  namespaced: true,
  state: {
    searchInfo: '' // 搜索的内容
  },
  mutations: {
    setSearchInfo(state: { searchInfo: string }, searchInfo: string) {
      state.searchInfo = searchInfo
    }
  },
  getters: {
    getSearchInfo(state: { searchInfo: string }) {
      return state.searchInfo
    }
  }
}
